/*
 * @Author: 老刘
 * @Date: 2020-04-29 15:51:38
 * @Description: 数字增长
 */
import WxCountUp from '../../../utils/count-up';
Page({
	data: {
		loadData: false,
		total: 0
	},
	onClickCountUp () {
		const options = {
			separator: ''
		};
		this.setData({
			countUp: new WxCountUp('total', 6666, options, this)
		});
		this.data.countUp.start(() => {
			console.log('Complete!');
		});
	}
});
